import React, { memo } from 'react'

import { PrivateWrap } from './style'

export default memo(function AppPrivate(props) {
  const { info } = props

  // console.log(info)
  return (
    <PrivateWrap>
      <h4 className="private-title">独家放送</h4>
      <div className="private-list">
        {
          info.map((item, index) => {
            return (
              <div className="private-item" key={item.id}>
                <img src={item.picUrl} alt="" />
                <p className="private-desc">{item.name}</p>
              </div>
            )
          })
        }
      </div>
    </PrivateWrap>
  )
})
